* configure: Add `--x-includes' and `--x-libraries' options. I
authorJim Blandy <jimb@redhat.com>
Tue, 23 Mar 1993 05:53:36 +0000 (05:53 +0000)
committerJim Blandy <jimb@redhat.com>
Tue, 23 Mar 1993 05:53:36 +0000 (05:53 +0000)
think these are dopey, but no less than three alpha testers, at
large sites, have said they have their X files installed in odd
places.  Implement them by setting C_SWITCH_X_SITE and
LD_SWITCH_X_SITE in src/config.h.

configure1.in

index 88aee113e2e2cd47b2170862028640878efdb7a7..89b8450a620704989e4b8d828829e5e622734d24 100755 (executable)
@@ -96,7 +96,7 @@ unsuccessful after disturbing the status quo, it removes config.status."
 config_h_opts=" \
 HAVE_X_WINDOWS HAVE_X11 HAVE_X_MENU \
 SIGTYPE GNU_MALLOC REL_ALLOC LISP_FLOAT_TYPE HAVE_CONST\
-LD_SWITCH_SITE C_SWITCH_SITE"
+LD_SWITCH_X_SITE C_SWITCH_X_SITE"
 
 ### Record all the arguments, so we can save them in config.status.
 arguments="$@"
@@ -198,7 +198,7 @@ Set it to either \`yes' or \`no'."
            shift; val="$1"
          fi
          x_includes="${val}"
-         C_SWITCH_SITE="-I${x_includes}"
+         C_SWITCH_X_SITE="-I${x_includes}"
         ;;
        "x-libraries" )
          ## If the value was omitted, get it from the next argument.
@@ -213,7 +213,7 @@ Set it to either \`yes' or \`no'."
            shift; val="$1"
          fi
          x_libraries="${val}"
-         LD_SWITCH_SITE="-L${x_libraries}"
+         LD_SWITCH_X_SITE="-L${x_libraries}"
         ;;
 
        ## Has the user asked for some help?